.class public Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;
.super Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;
.source "FarmisNotificationModel.java"

# interfaces
.implements Landroid/os/Parcelable;
.implements Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel$PopulatableNotificationInterface;


# static fields
.field public static final CREATOR:Landroid/os/Parcelable$Creator;

.field public static final TAG:Ljava/lang/String; = "FarmisNotificationModel"


# instance fields
.field protected mArguments:[Ljava/lang/String;

.field protected mConfiguration:Llt/farmis/libraries/notificationcontroller/data/configurations/NotificationConfiguration;

.field protected mDatabaseWriter:Llt/noframe/gpsfarmguide/notifications/FarmisNotificationDataProvider;

.field protected mRelationID:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .line 63
    new-instance v0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel$1;

    invoke-direct {v0}, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel$1;-><init>()V

    sput-object v0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->CREATOR:Landroid/os/Parcelable$Creator;

    return-void
.end method

.method public constructor <init>(Landroid/os/Parcel;)V
    .locals 1

    .line 142
    invoke-direct {p0, p1}, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;-><init>(Landroid/os/Parcel;)V

    .line 149
    invoke-virtual {p1}, Landroid/os/Parcel;->createStringArray()[Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mArguments:[Ljava/lang/String;

    .line 150
    invoke-virtual {p1}, Landroid/os/Parcel;->readString()Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mRelationID:Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Lorg/json/JSONObject;)V
    .locals 1
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/lang/IllegalArgumentException;
        }
    .end annotation

    .line 164
    invoke-direct {p0}, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;-><init>()V

    .line 168
    :try_start_0
    invoke-virtual {p0, p1}, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->populate(Lorg/json/JSONObject;)Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    return-void

    :catch_0
    move-exception p1

    .line 171
    invoke-virtual {p1}, Ljava/lang/Exception;->printStackTrace()V

    .line 173
    sget-object p1, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->TAG:Ljava/lang/String;

    const-string v0, "The provided data source is null, empty or invalid; or the created model could not be populated with data..."

    invoke-static {p1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 174
    invoke-static {v0}, Lcom/crashlytics/android/Crashlytics;->log(Ljava/lang/String;)V

    .line 179
    new-instance p1, Ljava/lang/IllegalArgumentException;

    const-string v0, "The provided data source is null, empty or invalid. Failed to populate the created model."

    invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V

    throw p1
.end method


# virtual methods
.method public describeContents()I
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public getArguments()[Ljava/lang/String;
    .locals 1

    .line 529
    iget-object v0, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mArguments:[Ljava/lang/String;

    return-object v0
.end method

.method public getCallback(Landroid/content/Context;)Llt/farmis/libraries/notificationcontroller/data/callbacks/NotificationCallback;
    .locals 1

    .line 509
    iget-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mCallback:Llt/farmis/libraries/notificationcontroller/data/callbacks/NotificationCallback;

    if-nez v0, :cond_0

    .line 510
    new-instance v0, Llt/noframe/gpsfarmguide/notifications/data/callbacks/FarmisNotificationCallback;

    invoke-direct {v0, p1, p0}, Llt/noframe/gpsfarmguide/notifications/data/callbacks/FarmisNotificationCallback;-><init>(Landroid/content/Context;Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;)V

    iput-object v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mCallback:Llt/farmis/libraries/notificationcontroller/data/callbacks/NotificationCallback;

    .line 514
    :cond_0
    iget-object p1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mCallback:Llt/farmis/libraries/notificationcontroller/data/callbacks/NotificationCallback;

    return-object p1
.end method

.method public getConfiguration()Llt/farmis/libraries/notificationcontroller/data/configurations/NotificationConfiguration;
    .locals 3

    .line 431
    iget-object v0, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mConfiguration:Llt/farmis/libraries/notificationcontroller/data/configurations/NotificationConfiguration;

    if-nez v0, :cond_0

    .line 433
    :try_start_0
    new-instance v0, Llt/noframe/gpsfarmguide/notifications/data/configurations/FarmisNotificationConfiguration;

    invoke-direct {v0, p0}, Llt/noframe/gpsfarmguide/notifications/data/configurations/FarmisNotificationConfiguration;-><init>(Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;)V

    iput-object v0, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mConfiguration:Llt/farmis/libraries/notificationcontroller/data/configurations/NotificationConfiguration;
    :try_end_0
    .catch Llt/farmis/libraries/notificationcontroller/exceptions/InvalidNotificationTypeException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_0

    :catch_0
    move-exception v0

    .line 435
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    .line 436
    sget-object v1, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->TAG:Ljava/lang/String;

    const-string v2, "Something went wrong and the notification does not have a valid type. Setting the type to default and trying again..."

    invoke-static {v1, v2}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    const-string v1, "The notification does not have a valid type. Setting the type to default and trying again..."

    .line 437
    invoke-static {v1}, Lcom/crashlytics/android/Crashlytics;->log(Ljava/lang/String;)V

    .line 438
    invoke-static {v0}, Lcom/crashlytics/android/Crashlytics;->logException(Ljava/lang/Throwable;)V

    const/4 v0, 0x1

    .line 441
    iput v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mType:I

    .line 442
    invoke-virtual {p0}, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->getConfiguration()Llt/farmis/libraries/notificationcontroller/data/configurations/NotificationConfiguration;

    move-result-object v0

    iput-object v0, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mConfiguration:Llt/farmis/libraries/notificationcontroller/data/configurations/NotificationConfiguration;

    .line 453
    :cond_0
    :goto_0
    iget-object v0, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mConfiguration:Llt/farmis/libraries/notificationcontroller/data/configurations/NotificationConfiguration;

    return-object v0
.end method

.method public bridge synthetic getDatabaseWriter(Landroid/content/Context;)Llt/farmis/libraries/notificationcontroller/data/providers/BaseNotificationDataProvider;
    .locals 0

    .line 37
    invoke-virtual {p0, p1}, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->getDatabaseWriter(Landroid/content/Context;)Llt/noframe/gpsfarmguide/notifications/FarmisNotificationDataProvider;

    move-result-object p1

    return-object p1
.end method

.method public getDatabaseWriter(Landroid/content/Context;)Llt/noframe/gpsfarmguide/notifications/FarmisNotificationDataProvider;
    .locals 1

    .line 480
    iget-object v0, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mDatabaseWriter:Llt/noframe/gpsfarmguide/notifications/FarmisNotificationDataProvider;

    if-nez v0, :cond_0

    .line 481
    new-instance v0, Llt/noframe/gpsfarmguide/notifications/FarmisNotificationDataProvider;

    invoke-direct {v0, p1}, Llt/noframe/gpsfarmguide/notifications/FarmisNotificationDataProvider;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mDatabaseWriter:Llt/noframe/gpsfarmguide/notifications/FarmisNotificationDataProvider;

    .line 485
    :cond_0
    iget-object p1, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mDatabaseWriter:Llt/noframe/gpsfarmguide/notifications/FarmisNotificationDataProvider;

    return-object p1
.end method

.method public getRelationID()Ljava/lang/String;
    .locals 1

    .line 552
    iget-object v0, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mRelationID:Ljava/lang/String;

    return-object v0
.end method

.method public isEmpty()Z
    .locals 1

    .line 571
    invoke-super {p0}, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->isEmpty()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mArguments:[Ljava/lang/String;

    if-nez v0, :cond_0

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    goto :goto_1

    :cond_1
    :goto_0
    const/4 v0, 0x1

    :goto_1
    return v0
.end method

.method public populate(Lorg/json/JSONObject;)Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;
    .locals 10
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Llt/farmis/libraries/notificationcontroller/exceptions/NotificationPopulationException;,
            Lorg/json/JSONException;
        }
    .end annotation

    const-string v0, ""

    if-eqz p1, :cond_2

    .line 297
    invoke-virtual {p1}, Lorg/json/JSONObject;->length()I

    move-result v1

    if-lez v1, :cond_2

    const/4 v1, -0x1

    .line 309
    :try_start_0
    iput v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mID:I

    .line 310
    invoke-static {p1}, Llt/noframe/gpsfarmguide/notifications/FarmisNotificationHelper;->getArgumentsFromNotificationData(Lorg/json/JSONObject;)[Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mArguments:[Ljava/lang/String;

    const-string v1, "when_timestamp"

    .line 311
    invoke-static {}, Ljava/lang/System;->currentTimeMillis()J

    move-result-wide v2

    invoke-virtual {p1, v1, v2, v3}, Lorg/json/JSONObject;->optLong(Ljava/lang/String;J)J

    move-result-wide v1

    iput-wide v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mWhen:J

    const/4 v1, 0x0

    .line 312
    iput-boolean v1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->isRead:Z

    const/4 v2, 0x1

    .line 313
    iput-boolean v2, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->isActive:Z

    const-string v3, "button_text"

    .line 314
    invoke-virtual {p1, v3, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mButtonLabel:Ljava/lang/String;

    const-string v3, "url"

    .line 315
    invoke-virtual {p1, v3, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mURL:Ljava/lang/String;

    const-string v3, "img"

    .line 316
    invoke-virtual {p1, v3, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    iput-object v3, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mImageURL:Ljava/lang/String;

    const-string v3, "notificationDeliveryType"

    .line 319
    invoke-virtual {p1, v3}, Lorg/json/JSONObject;->opt(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, [B

    if-eqz v3, :cond_0

    .line 321
    invoke-static {v3}, Llt/farmis/libraries/bitflags/BitFlagSet;->createFrom([B)Llt/farmis/libraries/bitflags/BitFlags;

    move-result-object v3

    iput-object v3, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

    goto :goto_0

    .line 323
    :cond_0
    invoke-static {}, Llt/farmis/libraries/bitflags/BitFlagSet;->createNew()Llt/farmis/libraries/bitflags/BitFlags;

    move-result-object v3

    iput-object v3, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mDeliveryFlags:Llt/farmis/libraries/bitflags/BitFlags;

    :goto_0
    const-string v3, "notificationType"

    const/high16 v4, -0x80000000

    .line 327
    invoke-virtual {p1, v3, v4}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v3
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    const-string v4, "content"

    const-string v5, "alert"

    const/16 v6, 0x29a

    const-string v7, "notificationVisibility"

    const-string v8, "notificationPriority"

    const/4 v9, 0x2

    if-eq v3, v6, :cond_1

    packed-switch v3, :pswitch_data_0

    .line 374
    :try_start_1
    sget-object v0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->TAG:Ljava/lang/String;

    const-string v3, "Remote notification type is invalid, creating a non-deliverable default notification. The notification needs to be modified before use!"

    invoke-static {v0, v3}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    const/4 v0, 0x4

    .line 378
    iput v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mType:I

    const/4 v0, -0x2

    .line 379
    invoke-virtual {p1, v8, v0}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mPriority:I

    .line 380
    invoke-virtual {p1, v7, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result p1

    iput p1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mVisibility:I

    const-string p1, "group_default"

    .line 381
    iput-object p1, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mGroupID:Ljava/lang/String;

    .line 384
    new-array p1, v9, [I

    aput v1, p1, v1

    aput v2, p1, v2

    invoke-virtual {p0, p1}, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->setDeliveryFlags([I)V

    goto :goto_1

    :pswitch_0
    const/16 v3, 0xc

    .line 336
    iput v3, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mType:I

    .line 337
    invoke-virtual {p1, v8, v9}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v3

    iput v3, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mPriority:I

    .line 338
    invoke-virtual {p1, v7, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v3

    iput v3, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mVisibility:I

    const-string v3, "group_ad"

    .line 339
    iput-object v3, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mGroupID:Ljava/lang/String;

    .line 342
    new-array v3, v9, [Ljava/lang/String;

    .line 343
    invoke-virtual {p1, v5, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    aput-object v5, v3, v1

    .line 344
    invoke-virtual {p1, v4, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    aput-object p1, v3, v2

    .line 347
    iget-object p1, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mArguments:[Ljava/lang/String;

    invoke-static {v3, p1}, Llt/farmis/libraries/notificationcontroller/utilities/general/ArrayUtils;->addAll([Ljava/lang/Object;[Ljava/lang/Object;)[Ljava/lang/Object;

    move-result-object p1

    check-cast p1, [Ljava/lang/String;

    iput-object p1, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mArguments:[Ljava/lang/String;

    .line 350
    new-array p1, v9, [I

    aput v9, p1, v1

    aput v2, p1, v2

    invoke-virtual {p0, p1}, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->setDeliveryFlags([I)V

    goto :goto_1

    .line 355
    :cond_1
    iput v6, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mType:I

    .line 356
    invoke-virtual {p1, v8, v9}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v3

    iput v3, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mPriority:I

    .line 357
    invoke-virtual {p1, v7, v2}, Lorg/json/JSONObject;->optInt(Ljava/lang/String;I)I

    move-result v3

    iput v3, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mVisibility:I

    const-string v3, "group_general"

    .line 358
    iput-object v3, p0, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->mGroupID:Ljava/lang/String;

    .line 361
    new-array v3, v9, [Ljava/lang/String;

    .line 362
    invoke-virtual {p1, v5, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v5

    aput-object v5, v3, v1

    .line 363
    invoke-virtual {p1, v4, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    aput-object p1, v3, v2

    .line 366
    iget-object p1, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mArguments:[Ljava/lang/String;

    invoke-static {v3, p1}, Llt/farmis/libraries/notificationcontroller/utilities/general/ArrayUtils;->addAll([Ljava/lang/Object;[Ljava/lang/Object;)[Ljava/lang/Object;

    move-result-object p1

    check-cast p1, [Ljava/lang/String;

    iput-object p1, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mArguments:[Ljava/lang/String;

    .line 369
    new-array p1, v9, [I

    aput v9, p1, v1

    aput v2, p1, v2

    invoke-virtual {p0, p1}, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->setDeliveryFlags([I)V
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    :goto_1
    return-object p0

    :catch_0
    move-exception p1

    .line 389
    invoke-virtual {p1}, Lorg/json/JSONException;->printStackTrace()V

    .line 390
    sget-object v0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->TAG:Ljava/lang/String;

    const-string v1, "Failed to parse the notification data..."

    invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 391
    invoke-static {v1}, Lcom/crashlytics/android/Crashlytics;->log(Ljava/lang/String;)V

    .line 396
    throw p1

    .line 298
    :cond_2
    sget-object p1, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->TAG:Ljava/lang/String;

    const-string v0, "The provided JSONObject is null or does not contain any valid name/value pairs. Aborting..."

    invoke-static {p1, v0}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I

    .line 299
    invoke-static {v0}, Lcom/crashlytics/android/Crashlytics;->log(Ljava/lang/String;)V

    .line 302
    new-instance p1, Llt/farmis/libraries/notificationcontroller/exceptions/NotificationPopulationException;

    const-string v0, "TThe provided JSONObject is null or does not contain any valid name/value pairs. Cannot parse an invalid Object. Could not populate the notification model."

    invoke-direct {p1, v0}, Llt/farmis/libraries/notificationcontroller/exceptions/NotificationPopulationException;-><init>(Ljava/lang/String;)V

    throw p1

    :pswitch_data_0
    .packed-switch 0x6
        :pswitch_0
        :pswitch_0
        :pswitch_0
        :pswitch_0
    .end packed-switch
.end method

.method public toString()Ljava/lang/String;
    .locals 4

    .line 673
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-super {p0}, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "\nFarmisNotificationModel { arguments = \'"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mArguments:[Ljava/lang/String;

    const-string v2, "null"

    if-nez v1, :cond_0

    move-object v1, v2

    goto :goto_0

    :cond_0
    const-string v3, "|"

    .line 676
    invoke-static {v1, v3}, Llt/noframe/gpsfarmguide/notifications/FarmisNotificationHelper;->convertToString([Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_0
    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "\', relation ID = \'"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v1, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mRelationID:Ljava/lang/String;

    .line 678
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_1

    goto :goto_1

    :cond_1
    iget-object v2, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mRelationID:Ljava/lang/String;

    :goto_1
    invoke-virtual {v0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v1, "\' }"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method public writeToParcel(Landroid/os/Parcel;I)V
    .locals 0

    .line 661
    invoke-super {p0, p1, p2}, Llt/farmis/libraries/notificationcontroller/data/models/BaseNotificationModel;->writeToParcel(Landroid/os/Parcel;I)V

    .line 664
    iget-object p2, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mArguments:[Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeStringArray([Ljava/lang/String;)V

    .line 665
    iget-object p2, p0, Llt/noframe/gpsfarmguide/notifications/data/models/FarmisNotificationModel;->mRelationID:Ljava/lang/String;

    invoke-virtual {p1, p2}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V

    return-void
.end method
